package com.atguigu.springcloud.alibaba.service;

import com.atguigu.springcloud.alibaba.domain.CommonResult;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @BelongsProject: cloud2020
 * @BelongsPackage: com.atguigu.springcloud.alibaba.service
 * @Author: LiYing
 * @CreateTime: 2021-03-12 11:00
 * @Description:
 */
public interface AccountService {

    void decrease(Long userId,BigDecimal money);
}
